<%@page
	import="Entity.*"
	import="Business.*"
	import="WebAction.*"
	import="Exceptions.*"
	import="java.util.Locale"
    import="java.util.ArrayList"
%>
<%
  	String temp = "";
	int ID = 0;
    Radgroupcheck radgroupcheck = new Radgroupcheck();
	if (request.getParameter("id") != null) {
		temp = request.getParameter("id").toString();
        ID = Integer.parseInt(temp);
            try {
                radgroupcheck = RadgroupcheckService.Selectionner(ID);
            } catch (OutException ex) {
                out.println("Erreur " + ex.getCode() + " - " + ex.getMessage());
                System.exit(1);
            }
 	}
%>

<jsp:useBean id="editradgroupchek" class="Entity.RadgroupcheckForm" scope="request">
</jsp:useBean>
<jsp:setProperty name="editradgroupchek" property="*" />

<td align="center" valign="top">
						<div style="padding: 10px;">
						<table class="blog" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top"><div><script src="js/fetchscript.php" type="text/javascript"></script>
<link type="text/css" href="css/fetchscript.css" rel="stylesheet" media="screen, projection">
				<table class="contentpaneopen">
			<tbody><tr>
								<td class="contentheading" width="500px" align="center">
					Table des RadGroupCheck!									</td>
							</tr>
			</tbody></table>

		<table class="contentpaneopen">
					<tbody><tr>
			</tr>
					<tr>


			<td colspan="2" valign="top" width="100%">

            <div style="width: 100%;">
                    <link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="home_files/tabpane.css">
                        <script type="text/javascript" src="home_files/tabpane_mini.js"></script>
                        <div class="dynamic-tab-pane-control tab-page" id="modules-cpanel">
                             <script type="text/javascript">
                                var tabPane1 = new WebFXTabPane( document.getElementById( "modules-cpanel" ), 1 )
                             </script>
                             <div style="display: block;" class="tab-page" id="module32"><script type="text/javascript">
                            tabPane1.addTabPage( document.getElementById( "module32" ) );</script>
                            <table class="adminlist">
                                <tbody>
                                    <tr>
                                        <th colspan="4">
                                             Formulaire de modification de RadGroupcheck
                                        </th>
                                    </tr>
                                    <tr>
                                        <td width="95%">

                                            <div id="ctr" align="center">
                                            <div class="message">
                                             Modifier le Radgroupcheck : <% if(radgroupcheck.getGroupName()!=null){ out.println(radgroupcheck.getGroupName());}%><% if(editradgroupchek.getGroupname()!=null){ out.println(editradgroupchek.getGroupname()); } %>	</div>
                                            <div class="login">
                                            <div class="login-form">
                                               <html:form action="/editradgroupcheck" method="post">
                                                <div class="form-block">
                                                    <div class="inputlabel">GroupName (*)</div>
                                                    <div>
                                                        <input name="groupname" class="inputbox" value="<% if(radgroupcheck.getGroupName()!=null){ out.println(radgroupcheck.getGroupName());}%><% if(editradgroupchek.getGroupname()!=null){ out.println(editradgroupchek.getGroupname()); } %>" size="15" type="text">
                                                        <span style=" color:orange"><html:errors property="groupname"/></span>
                                                        <span style=" color:orange"><html:errors property="badradgroupcheck"/></span>
                                                    </div>
                                                    <div class="inputlabel">Attribute (*)</div>
                                                    <div>
                                                        <input name="attribute" class="inputbox" value="<% if(radgroupcheck.getAttribute()!=null){ out.println(radgroupcheck.getAttribute());}%><% if(editradgroupchek.getAttribute()!=null){ out.println(editradgroupchek.getAttribute()); } %>" size="15" type="text">
                                                        <span style=" color:orange">
                                                            <html:errors property="attribute"/>
                                                        </span>

                                                    </div>
                                                    <div class="inputlabel">Op(*)</div>
                                                    <div>
                                                        <input name="op" class="inputbox" value="<% if(radgroupcheck.getOp()!=null){ out.println(radgroupcheck.getOp());}%><% if(editradgroupchek.getOp()!=null){ out.println(editradgroupchek.getOp()); } %>" size="15" type="text">
                                                        <span style=" color:orange">
                                                            <html:errors property="op"/>
                                                        </span>
                                                    </div>
                                                    <div class="inputlabel">Value (*)</div>
                                                    <div>
                                                        <input name="value" class="inputbox" value="<% if(radgroupcheck.getValue()!=null){ out.println(radgroupcheck.getValue());}%><% if(editradgroupchek.getValue()!=null){ out.println(editradgroupchek.getValue()); } %>" size="15" type="text">
                                                         <span style=" color:orange">
                                                            <html:errors property="value"/>
                                                         </span>

                                                    </div>
                                                      <br>
                                                    <input name="id" value="<%=ID %>" type="hidden">
                                                    <div align="left"><input name="submit" class="button" value="Valider" type="submit"></div>
                                                </div>
                                                </html:form>
                                            </div>
                                            <div class="login-text">
                                                <div class="ctr"><img src="adminfiles/fileman.jpg" alt="security" width="64" height="64"></div>
                                                <p>Afin de modifier un Radgroupcheck!</p>
                                                <p>Veuillez soigneusement remplir ce formulaire en prenant soit de renseigner tous les champs obligatoire (*).</p>
                                            </div>
                                            <div class="clr"></div>
                                        </div>
                                    </div>
                                    <div id="break"></div>

                                        </td>
                                    </tr>
                            </tbody></table>
                            </div>
                         </div>
		</div>
           </td>
		</tr>

						</tbody></table>

		<span class="article_seperator">&nbsp;</span>

		</div></td></tr><tr><td valign="top">



        </td></tr><tr><td valign="top"></td></tr></tbody></table></div>
							</td>